package com.broadengate.service.impl;

import java.util.List;

import com.broadengate.dao.OperaHistoryDao;
import com.broadengate.model.Deposit;
import com.broadengate.model.Transfer;
import com.broadengate.model.Withdraw;
import com.broadengate.service.OperaHistoryService;

public class OperaHistoryServiceImpl implements OperaHistoryService {
	
	private OperaHistoryDao operaHistoryDao;

	public List<Deposit> depositList(String CardNO) {
		return operaHistoryDao.DepositList(CardNO);
	}

	public List<Transfer> trasferList(String CardNO) {
		return operaHistoryDao.TrasferList(CardNO);
	}

	public List<Withdraw> withdrawList(String CardNO) {
		return operaHistoryDao.WithdrawList(CardNO);
	}

	public List listAllOperation(String CardNO) {
		return operaHistoryDao.listAllOperation(CardNO);
	}

	public OperaHistoryDao getOperaHistoryDao() {
		return operaHistoryDao;
	}

	public void setOperaHistoryDao(OperaHistoryDao operaHistoryDao) {
		this.operaHistoryDao = operaHistoryDao;
	}

}
